//
//  MenuState.m
//  GLSprite
//
//  Created by Daniel Polak on 7/15/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "MenuState.h"
#import <QuartzCore/QuartzCore.h>
#import <OpenGLES/EAGLDrawable.h>
#import <OpenGLES/EAGL.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#import "State Manager.h"
#import "Mind.h"


@implementation MenuState

- (void)Enter {
	glClearColor(1.0f, 0.0f, 0.0f, 1.0f);
}

- (void)Update {

	Mind* myMind = [Mind mind];
	
	if (myMind.tap) {
		//Change State
		[[StateManager stateManager] PushState:GAMEPLAYSTATE];
	}
}

- (void)Exit {
	
}

- (void)Render 
{

}

@end
